package decorator;

public class Airplane extends Changer {
    public Airplane(Transform transform) {
        super(transform);
        System.out.println("变成飞机！");
    }

    public void move(){
        super.move();
        this.fly();


    }
    private void fly() {
        System.out.println("在天空飞翔！");
    }
}